package com.newcapec.news.service;

import com.newcapec.news.entity.News;

import java.util.List;

/**
 * @Description:
 * @Author: fujun
 * @Date : 2022/3/31 8:42
 * @Version : 1.0
 * @company 新开普电子股份有限公司
 */
public interface NewService {
    public void insertNews(News news);

    public void updateNews(News news);

    public void deleteNews(int id);

    public List<News> queryNews();

    public News getNews(int id);

    public List<News> queryNewsByChannel(int chnl_code);
}
